package com.itheima.service;

import com.itheima.pojo.HmSubjects;
import com.itheima.pojo.HmSubjectsDirectorys;
import com.itheima.util.PageResult;
import com.itheima.util.SubjectsResult;

import java.util.List;

public interface DirectorysService {
    PageResult findByPage(Integer page, Integer pagesize, String directoryName, Integer state);

    void update(Integer id, Integer state);

    void updateAll(Integer id, HmSubjectsDirectorys hsd);

    void add(HmSubjectsDirectorys hsd);

    void delete(Integer id);

    List<SubjectsResult> findById(Integer subjectID);


}
